[INFO] fetching crate get-size 0.1.1...
[INFO] building get-size-0.1.1 against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] extracting crate get-size 0.1.1 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate get-size 0.1.1 on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate get-size 0.1.1
[INFO] finished tweaking crates.io crate get-size 0.1.1
[INFO] tweaked toml for crates.io crate get-size 0.1.1 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e9db259252eda691da20f18edc9a9c7bdc381faa654896a32932b49b773a2a85
[INFO] running `Command { std: "docker" "start" "-a" "e9db259252eda691da20f18edc9a9c7bdc381faa654896a32932b49b773a2a85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e9db259252eda691da20f18edc9a9c7bdc381faa654896a32932b49b773a2a85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9db259252eda691da20f18edc9a9c7bdc381faa654896a32932b49b773a2a85", kill_on_drop: false }`
[INFO] [stdout] e9db259252eda691da20f18edc9a9c7bdc381faa654896a32932b49b773a2a85
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 84b5b621b8d13f802cb31f53c8325e341cf172e1e11a5d7bd6de4910765ca229
[INFO] running `Command { std: "docker" "start" "-a" "84b5b621b8d13f802cb31f53c8325e341cf172e1e11a5d7bd6de4910765ca229", kill_on_drop: false }`
[INFO] [stderr]    Compiling get-size v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.25s
[INFO] running `Command { std: "docker" "inspect" "84b5b621b8d13f802cb31f53c8325e341cf172e1e11a5d7bd6de4910765ca229", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84b5b621b8d13f802cb31f53c8325e341cf172e1e11a5d7bd6de4910765ca229", kill_on_drop: false }`
[INFO] [stdout] 84b5b621b8d13f802cb31f53c8325e341cf172e1e11a5d7bd6de4910765ca229
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a7d5ed3946f0af098708f3990d6cbc3ce2d25dd256836f7af49ffb721c6ff4f1
[INFO] running `Command { std: "docker" "start" "-a" "a7d5ed3946f0af098708f3990d6cbc3ce2d25dd256836f7af49ffb721c6ff4f1", kill_on_drop: false }`
[INFO] [stderr]    Compiling get-size v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]  --> src/tests/mod.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(GetSize)]
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/tests/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/tests/mod.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use super::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:59:10
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/tests/mod.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use super::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStruct` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub struct TestStruct {
[INFO] [stdout]    | --------------------- method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestStruct`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStruct` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 16 |     assert_eq!(test.value1.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 16 |     assert_eq!(test.value2.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum TestEnum {
[INFO] [stdout]    | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 33 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:36:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum TestEnum {
[INFO] [stdout]    | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 36 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum TestEnum {
[INFO] [stdout]    | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 39 |     assert_eq!(test.get_heap_size(), 6);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum TestEnum {
[INFO] [stdout]    | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 42 |     assert_eq!(test.get_heap_size(), 4 + 16 + 12);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum TestEnum {
[INFO] [stdout]    | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 50 |     assert_eq!(test.get_heap_size(), 11);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum TestEnum {
[INFO] [stdout]    | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 53 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum TestEnum {
[INFO] [stdout]    | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 56 |     assert_eq!(test.get_heap_size(), 5 + 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:69:21
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub enum TestEnum2 {
[INFO] [stdout]    | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 69 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:72:21
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub enum TestEnum2 {
[INFO] [stdout]    | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 72 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:75:21
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub enum TestEnum2 {
[INFO] [stdout]    | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 75 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `get-size` due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "a7d5ed3946f0af098708f3990d6cbc3ce2d25dd256836f7af49ffb721c6ff4f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7d5ed3946f0af098708f3990d6cbc3ce2d25dd256836f7af49ffb721c6ff4f1", kill_on_drop: false }`
[INFO] [stdout] a7d5ed3946f0af098708f3990d6cbc3ce2d25dd256836f7af49ffb721c6ff4f1
